package com.five.wisdomClass.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Tag(name="test")
@Slf4j
@RestController
@CrossOrigin
@RequestMapping("/test")
public class TestController {
    @Operation(summary = "ceshi")
    @GetMapping("/getall")
    public String getAllUser(){
        return "returnObject(adminService.getAll())";
    }
}
